package zirao.cn.http;

import java.io.File;

/**
 * Created by ${lixiaonan} on 2017/12/19.
 */

public abstract class MyHttpCallBack {

    public void onStart(){};

    public void onProcess(long totalSize, long currentSize, float percent, long speed){};

    public abstract void onSuccess(String result);

    public abstract void onFailure(String strMsg);

    public void onDownloadSuccess(File file){};
}
